﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PortDetection.Class
{
    public class ServerComm
    {
        public static string GetCmd_ServerStatus(bool bolInService)
        {
            StringBuilder sbResult = new StringBuilder();
            sbResult.Append("$serverstatus");
            sbResult.AppendFormat("&{0}", bolInService ? 1 : 0);
            return sbResult.ToString();
        }
    }
}
